package com.foreverwin.mes.warehouse.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;
import com.foreverwin.mes.warehouse.dto.InventoryReceiveConfirmDto;
import com.foreverwin.mes.warehouse.model.InventoryReceiveConfirm;

import java.util.List;

/**
 * <p>
 * 库存接收确认 服务类
 * </p>
 *
 * @author Ervin Chen
 * @since 2020-02-12
 */
public interface InventoryReceiveConfirmService extends IService<InventoryReceiveConfirm> {

    /**
     * 分页查询
     *
     * @param frontPage
     * @return
     */
    Page<InventoryReceiveConfirm> selectPage(FrontPage<InventoryReceiveConfirm> frontPage, InventoryReceiveConfirm inventoryReceiveConfirm);

    List<InventoryReceiveConfirm> selectList(InventoryReceiveConfirm inventoryReceiveConfirm);

    List<InventoryReceiveConfirmDto> selectInventoryReceiveConfirmList(InventoryReceiveConfirm inventoryReceiveConfirm);

    boolean insertOrUpdate(List<InventoryReceiveConfirm> inventoryReceiveConfirms);
}